#ifndef SEARCHRESULT_H
#define SEARCHRESULT_H

#include <QTreeWidget>

class SearchResult : public QTreeWidget
{
    Q_OBJECT
public:
    explicit SearchResult(QWidget *parent = 0);
    virtual ~SearchResult();

    void setResult(const QStringList& list);
signals:
    void jumpFile(const QString& fileName, int line);
private slots:
    void itemdClicked(QTreeWidgetItem*,int);
};

#endif // SEARCHRESULT_H
